import { MNode } from "./mnode";

export class TextNode extends MNode {
  public isContainer: boolean = false;

  constructor (text: string) {
    super();
    this.text = text;
    this.type = 'text';
  }
}